package com.hezhi.framework.config;

import java.util.HashMap;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "my")
public class MyConfig {
	
	/**
	 * 闸机访问路径
	 */
	private String machineurl;
	/**
	 * 微信公众号配置
	 */
	private Map<String, String> weixin = new HashMap<>();
	private Map<String, String> aliyun = new HashMap<>();
	
	public String getMachineurl() {
		return machineurl;
	}
	public void setMachineurl(String machineurl) {
		this.machineurl = machineurl;
	}
	public Map<String, String> getWeixin() {
		return weixin;
	}
	public void setWeixin(Map<String, String> weixin) {
		this.weixin = weixin;
	}
	public Map<String, String> getAliyun() {
		return aliyun;
	}
	public void setAliyun(Map<String, String> aliyun) {
		this.aliyun = aliyun;
	}
	
}
